package com.wty.cmims.service;

import com.wty.cmims.pojo.InstitutionDevice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wty.cmims.pojo.ResponseResult;

import java.util.Map;

/**
* @author wty
* @description 针对表【institution_device】的数据库操作Service
* @createDate 2024-12-22 13:30:31
*/
public interface InstitutionDeviceService extends IService<InstitutionDevice> {

    ResponseResult<Map<String, Object>> findIDeviceByInstitutionId(Map<String,Object> paramsMap);

    ResponseResult<Void> updateIDeviceStock(Map<String, Object> paramsMap);

    ResponseResult<Void> addIDevice(Map<String, Object> paramsMap);
    ResponseResult<Void> deleteIDevice(Integer institutionId, Integer medicationId);
}
